const state = {
  resumeResult: null // 存储解析结果
}

const mutations = {
  SET_RESUME_RESULT(state, result) {
    state.resumeResult = result
  }
}

const actions = {
  setResumeResult({ commit }, result) {
    commit('SET_RESUME_RESULT', result)
  }
}

const getters = {
  getResumeResult: (state) => state.resumeResult
}

export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
} 
